﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mainfra.aspx.cs" Inherits="CardLogistics.Web.mainfra" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Home</title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="js/highcharts.js" type="text/javascript"></script>
    <script src="js/highcharts-3d.js" type="text/javascript"></script>
    <script src="js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="js/tblistjs.js" type="text/javascript"></script>
    <script type="text/javascript">
      var xVal =[<%=CharXVal %>]; //X轴值
      var charSeries=[<%=CharSeries %>];
      $(function () {
        $('#container').highcharts({
        chart: {
            type: 'pie',
            options3d: {
                enabled: true,
                alpha: 45,
                beta: 0
            }
        },
        title: {
            text:"<span style='font-size:15px;'>"+document.getElementById("txt_StartData").value+'至'+document.getElementById("txt_EndData").value+"坏卡率占比</span>"
        },
        tooltip: {
            pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
        },
        plotOptions: {
            pie: {
                allowPointSelect: true,
                cursor: 'pointer',
                dataLabels: {
                    enabled: true,
                    color: '#000000',
                    connectorColor: '#000000',
                    format: '<b>{point.name}</b>: {point.percentage:.1f} %'
                }
            }
        },
        series: [{
            type: 'pie',
            name: 'Browser share',
            data: charSeries
         }]
       });
  
     });
    </script>
    <style type="text/css">
        ul
        {
            list-style: none;
        }
        li
        {
            white-space: nowrap;
            width: 150px;
            line-height: 23px;
            list-style: none;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="place">
        <span>位置：</span>
        <ul class="placeul">
            <li><a href="#">首页</a></li>
        </ul>
    </div>
    <div class="mainindex">
        <div class="welinfo">
            <span>
                <img src="images/i07.png" alt="欢迎使用" style="width: 32px; height: 32px;" /></span><b>您好：<%=UserLoginName%>，欢迎使用！</b>
        </div>
        <div class="welinfo">
            <span>
                <img src="images/time.png" alt="时间" /></span> <i>您上次登录的时间：<%=AfterLog %></i>
            （修改密码<a href="MainPage/SystemMgr/SysUser/UpPwd.aspx">请点这里</a>） 如果报表数据无法正常显示,请点击<asp:LinkButton
                ID="lbtnDownLoad" runat="server" OnClick="lbtnDownLoad_Click">下载报表插件</asp:LinkButton>&nbsp;&nbsp;并手动安装插件。
        </div>
        <%--合同供货预警--%>
        <div id="ConId" runat="server" visible="false">
            <div class="xline">
            </div>
            <div class="welinfo">
                <span>
                    <img src="images/dp.png" alt="合同供货预警" /></span> <b style="padding-right: 20px;">合同供货预警</b>
            </div>
            <div class="welinfo">
                <div style="max-height: 100px; overflow: auto; padding-left: 15px;">
                    <%=ConInfo %>
                </div>
            </div>
        </div>
        <%--订单到货预警--%>
        <div id="OrderId" runat="server" visible="false" style="margin-top:60px;">
            <div class="xline">
            </div>
            <div class="welinfo">
                <span>
                    <img src="images/dp.png" alt="订单到货预警" /></span> <b style="padding-right: 20px;">订单到货预警</b>
            </div>
            <div class="welinfo">
                <div style="max-height: 100px; overflow: auto; padding-left: 15px;">
                    <%=GetOrdInfo()%>
                </div>
            </div>
        </div>
    </div>
    <div class="xline">
    </div>
    <div class="uimakerinfo">
        <b>您当前待审批记录统计</b></div>
    <ul class="umlist">
        <%= strli.ToString()%>
    </ul>
    </form>
</body>
</html>
